.login-content {
  width: 100%;
  float: left;
  height: 100vh;
  background-color: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  
  .top-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    
    .logo-section {
      width: 100%;
      display: flex;
      justify-content: center;
      margin-top: 60px;
      
      .logo {
        display: flex;
        align-items: center;
        gap: 12px;
        
        .logo-icon {
          width: 40px;
          height: 40px;
          background-color: #ff4d4f;
          color: white;
          border-radius: 8px;
          display: flex;
          align-items: center;
          justify-content: center;
          font-size: 24px;
          font-weight: bold;
          position: relative;
          
          &::after {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 0;
            height: 0;
            border-left: 8px solid #ff4d4f;
            border-top: 8px solid transparent;
            border-bottom: 8px solid transparent;
          }
        }
        
        .logo-text {
          font-size: 28px;
          font-weight: 600;
          color: #333333;
          letter-spacing: 2px;
        }
      }
    }
    
    .title {
      min-width: 125px;
      height: auto;
      font-size: 30px;
      font-weight: 600;
      color: #333333;
      line-height: 30px;
      border-bottom: 4px solid #ff4d4f;
      box-sizing: border-box;
      padding-bottom: 10px;
      margin: 0 auto;
      margin-top: 40px;
    }
    
    .login-box {
      width: 1200px;
      height: 366px;
      background: #ffffff;
      display: flex;
      margin: 0 auto;
      margin-top: 80px;
      
      .left-box {
        width: 595px;
        height: 100%;
        box-sizing: border-box;
        padding: 33px 60px;
        
        .icon {
          width: 475px;
          height: 300px;
        }
      }
      
      .right-box {
        width: 520px;
        height: 100%;
        box-sizing: border-box;
        border-left: 1px solid #d8d8d8;
        padding: 50px 60px;
        display: flex;
        flex-direction: column;
      }
    }
  }
}

// Ant Design 组件样式覆盖 - 最外层
:global(.ant-input)[data-name="nameInput"]  {
  width: 400px !important;
  height: 54px !important;
  padding: 0 16px !important;
  border: 1px solid #d9d9d9 !important;
  border-radius: 6px !important;
  font-size: 16px !important;
  background-color: #f6f6f6 !important;
  transition: all 0.3s !important;
  outline: none !important;
  box-shadow: none !important;
  
  &::placeholder {
    color: rgba(0, 0, 0, 0.45) !important;
  }
  
  &:focus {
    border-color: #ff4d4f !important;
    box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.2) !important;
    background-color: #fff !important;
  }
}

// Ant Design 组件样式覆盖 - 最外层
:global(.ant-input)[data-name="passwordInput"]  {
  &:focus {
    background-color: #fff !important;
  }
}

:global(.ant-input-password)[data-name="passwordInput"] {
  width: 400px !important;
  height: 54px !important;
  border: 1px solid #d9d9d9 !important;
  border-radius: 6px !important;

  transition: all 0.3s !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0 16px !important;
  
  &:focus,
  &:focus-within {
    border-color: #ff4d4f !important;
    box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.2) !important;
    background-color: #fff !important;
  }
  
  .ant-input {
    width: 100% !important;
    height: 100% !important;
    padding: 0 16px !important;
    border: none !important;
    border-radius: 0 !important;
    font-size: 16px !important;
    background-color: #fff !important;
    transition: all 0.3s !important;
    outline: none !important;
    box-shadow: none !important;
  }
  
  .ant-input-suffix {
    color: #999 !important;
    transition: color 0.3s !important;
    
    &:hover {
      color: #ff4d4f !important;
    }
  }
}

:global(.ant-btn)[data-name="loginButton"] {
  width: 400px !important;
  height: 54px !important;
  background-color: #ff4d4f !important;
  border: 1px solid #ff4d4f !important;
  border-radius: 6px !important;
  color: white !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all 0.3s !important;
  outline: none !important;
  
  &:hover:not(:disabled) {
    background-color: #ff7875 !important;
    border-color: #ff7875 !important;
  }
  
  &:focus {
    box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.2) !important;
  }
  
  &:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
  }
}

:global(.ant-btn){
  background-color: #ff4d4f !important;
  border: 1px solid #ff4d4f !important;
  border-radius: 6px !important;
  color: white !important;
  transition: all 0.3s !important;
  outline: none !important;
  
  &:hover:not(:disabled) {
    background-color: #ff7875 !important;
    border-color: #ff7875 !important;
  }
  
  &:focus {
    box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.2) !important;
  }
  
  &:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
  }
}


:global(.ant-input-password) {
  border: 1px solid #d9d9d9 !important;

  transition: all 0.3s !important;
  outline: none !important;
  box-shadow: none !important;

  &:focus,
  &:focus-within {
    border-color: #ff4d4f !important;
    box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.2) !important;
    background-color: #fff !important;
  }
  
  .ant-input {
    width: 100% !important;
    height: 100% !important;
    padding: 0 16px !important;
    border: none !important;
    border-radius: 0 !important;
    font-size: 16px !important;
    background-color: #fff !important;
    transition: all 0.3s !important;
    outline: none !important;
    box-shadow: none !important;
  }
  
  .ant-input-suffix {
    color: #999 !important;
    transition: color 0.3s !important;
    
    &:hover {
      color: #ff4d4f !important;
    }
  }
}